package cn.uway.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "shiro" /*, locations = "classpath:application.properties" */)
public class ShiroProperties {

	//未登录时跳转到登录的url
	private String loginUrl;
	//登录成功后跳转的url
	private String successUrl;
	//密码错误后账号锁定的时间，单位为秒
	private Integer accountLockedSeconds;
	//放行不拦截的url
	private String anonUrls; 
	//拦截的url
	private String authcUrls; 

	public String getLoginUrl() {
		return loginUrl;
	}

	public void setLoginUrl(String loginUrl) {
		this.loginUrl = loginUrl;
	}

	public String getSuccessUrl() {
		return successUrl;
	}

	public void setSuccessUrl(String successUrl) {
		this.successUrl = successUrl;
	}

	public Integer getAccountLockedSeconds() {
		return accountLockedSeconds;
	}

	public void setAccountLockedSeconds(Integer accountLockedSeconds) {
		this.accountLockedSeconds = accountLockedSeconds;
	}

	public String getAnonUrls() {
		return anonUrls;
	}

	public void setAnonUrls(String anonUrls) {
		this.anonUrls = anonUrls;
	}

	public String getAuthcUrls() {
		return authcUrls;
	}

	public void setAuthcUrls(String authcUrls) {
		this.authcUrls = authcUrls;
	}
	
	

}
